/**
 * null_stream.h
 *
 *  Created on: 2019-09-05
 *      Author: chenshisheng
 */

#ifndef STREAM_NULL_STREAM_H_
#define STREAM_NULL_STREAM_H_

#include "stream/stream.h"

typedef Stream_t NullStream_t;

int NullStream_Init(NullStream_t *ns);
static inline void NullStream_DeInit(NullStream_t *ns)
{
    Stream_DeInit((Stream_t *)ns);
}

#endif /* STREAM_NULL_STREAM_H_ */
